pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so
authorIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:24:35 +0000 (12:24 +0000)
committerMaximilian Engelhardt <maxi@daemonizer.de>
Wed, 7 Dec 2022 20:02:44 +0000 (21:02 +0100)
commit0467ac8b2f6d59bfac3e27fd81cc28d5817020d6
treeab269f096f3a9a4835ca5ef31e458a10e460b810
parent80914b9e2cde8f04f89f01d56113b3e350bc9594
pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so

If LIBEXEC_LIB is not on the default linker search path, the python
fsimage.so module fails to find libfsimage.so.

Add the relevant directory to the rpath explicitly.

(This situation occurs in the Debian package, where
--with-libexec-libdir is used to put each Xen version's libraries and
utilities in their own directory, to allow them to be coinstalled.)

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/pygrub/Makefile
tools/pygrub/setup.py